<?php

return [

    /*
    |--------------------------------------------------------------------------
    | 菜单配置项
    |--------------------------------------------------------------------------
    |
    | 在该配置文件里的配置项会显示显示在侧边栏的菜单中，目前仅支持两级，若需要拓展，可到left.balde.php进行拓展
    |
    | 菜单中的链接，是基于路由名称定义的，如果尚未开发相应功能，只是需要占位，请用空字符串代替
    |
    */

    'menus' => [
        [
            'auth'    => ['1','2','3'],
            'title'   => '微信外链管理',
            'route'   => '/admin/links_lists/links_lists_minapps',
            'icon'    => 'iconfont icon-ziyuan',
            'down'    => 'show',
            'submenu' => [
                [
                    'auth'  => ['1','2','3'],
                    'title' => '我的外链列表',
                    'route' => '/admin/links_lists/lists',
                ],
                [
                    'auth'  => ['1','2','3'],
                    'title' => '创建推广链接',
                    'route' => '/admin/links_lists/links_lists_add',
                ],
            ],
        ],
        [
            'auth'    => ['1','2','3'],
            'title'   => '微信客服外链',
            'route'   => '#',
            'icon'    => 'iconfont icon-xingzhuang',
            'down'    => 'show',
            'submenu' => [
                [
                    'auth'  => ['1','2','3'],
                    'title' => '微信客服链接',
                    'route' => '/admin/wxkf/wxkf_list',
                ],
                [
                    'auth'  => ['1','2','3'],
                    'title' => '创建引流客服链接',
                    'route' => '/admin/wxkf/wxkf_list_add',
                ],
            ],
        ],
        [
            'auth'    => ['1','2','3'],
            'title'   => '链接生成卡片',
            'route'   => '#',
            'icon'    => 'bx bxs-id-card',
            'down'    => 'show',
            'submenu' => [
                [
                    'auth'  => ['1','2','3'],
                    'title' => '抖音私信卡片',
                    'route' => '/admin/tool/card_add?platfrom=dy&link_type=wx',
                ],
                [
                    'auth'  => ['1','2','3'],
                    'title' => '微信分享卡片',
                    'route' => '/admin/tool/card_add?platfrom=wx&link_type=wx',
                ]
            ],
        ],
        [
            'auth'    => ['1','2','3'],
            'title'   => '小程序列表',
            'route'   => '/admin/links_lists/links_lists_minapps',
            'icon'    => 'iconfont icon-xiaochengxu1',
            'down'    => '',
            'submenu' => [
                [
                    'auth'  => ['1','2','3'],
                    'title' => '我的小程序列表',
                    'route' => '/admin/miniapp/miniapp_list',
                ],
                [
                    'auth'  => ['1','2','3'],
                    'title' => '新上架微信小程序',
                    'route' => '/admin/miniapps/miniapp_lists',
                ],
            ],
        ],
        [
            'auth'    => ['1','2','3'],
            'title'   => '会员与发票',
            'route'   => '',
            'icon'    => 'bx bxs-crown',
            'down'    => '',
            'submenu' => [
                [
                    'auth'  => ['1','2','3'],
                    'title' => '开通会员',
                    'route' => '/admin/prices/products_lists',
                ],
                [
                    'auth'  => ['1','2','3'],
                    'title' => '我的订单记录',
                    'route' => '/admin/links_lists/member_orders',
                ],
                [
                    'auth'  => ['1','2','3'],
                    'title' => '我的发票记录',
                    'route' => '/admin/users/users_invoice',
                ],
            ],
        ],
        [
            'auth'    => ['1','2','3'],
            'title'   => '更多产品推荐',
            'route'   => '/admin/index/index',
            'icon'    => 'bx bxs-bookmark-star',
            'down'    => '',
            'submenu' => [],
        ],
        [
            'auth'    => ['3'],
            'title'   => '后台管理',
            'route'   => '#',
            'icon'    => 'bx bxs-widget',
            'down'    => '',
            'submenu' => [
                [
                    'auth'  => ['3'],
                    'title' => '外链管理',
                    'route' => '/admin/manage/link_list',
                ],
                [
                    'auth'  => ['3'],
                    'title' => '用户管理',
                    'route' => '/admin/manage/user_list',
                ],
                [
                    'auth'  => ['3'],
                    'title' => '小程序列表',
                    'route' => '/admin/manage/miniapp_list',
                ],
                [
                    'auth'  => ['3'],
                    'title' => '图文卡片列表',
                    'route' => '/admin/manage/links_card',
                    'icon'  => 'fa fa-th',
                ],
                [
                    'auth'  => ['3'],
                    'title' => '充值/提现/发票管理',
                    'route' => '/admin/manage/member_list',
                ],
                [
                    'auth'  => ['3'],
                    'title' => '链接排查',
                    'route' => '/admin/manage/link_search',
                ],
            ],
        ],
        [
            'auth'    => ['3'],
            'title'   => '后台设置',
            'route'   => '#',
            'icon'    => 'bx bxs-cog',
            'down'    => '',
            'submenu' => [
                [
                    'auth'  => ['3'],
                    'title' => '推送通知',
                    'route' => '/admin/miniapps/official_push',
                ],
                [
                    'auth'  => ['3'],
                    'title' => '文档列表',
                    'route' => 'admin/documents/documents_lists',
                ],
                [
                    'auth'  => ['3'],
                    'title' => '上传认证文件',
                    'route' => '/admin/setting/setting_auth_txt',
                    'icon'  => 'fa fa-th',
                ],
                [
                    'auth'  => ['3'],
                    'title' => '批量切换小程序链接',
                    'route' => '/admin/setting/links_lists_public',
                    'icon'  => 'fa fa-th',
                ],
                [
                    'auth'  => ['3'],
                    'title' => '小程序封禁记录',
                    'route' => '/admin/setting/setting_miniapps_notice',
                    'icon'  => 'fa fa-th',
                ],
                [
                    'auth'  => ['3'],
                    'title' => '违规图片记录',
                    'route' => '/admin/users/links_lists_images',
                ],
                [
                    'auth'  => ['3'],
                    'title' => '小程序文章列表',
                    'route' => '/admin/articles/app_articles',
                ],
                [
                    'auth'  => ['3'],
                    'title' => '重复访问IP',
                    'route' => '/admin/safe/safe_ips',
                ],
                [
                    'auth'  => ['3'],
                    'title' => '二维码黑名单管理',
                    'route' => '/admin/black/blacklist',
                ],
                [
                    'auth'  => ['3'],
                    'title' => '跳转方式配置',
                    'route' => '/admin/setting/redirect_engine',
                ],
                [
                    'auth'  => ['3'],
                    'title' => '公用企业微信客服',
                    'route' => '/admin/wxkf/work_link_url',
                ],
            ],
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Failed Queue Jobs
    |--------------------------------------------------------------------------
    |
    | These options configure the behavior of failed queue job logging so you
    | can control which database and table are used to store the jobs that
    | have failed. You may change them to any database / table you wish.
    |
    */

    'companyInfo' => [
        'nike'    => '外链后台',
        'company' => '点击联系微信客服',
        'img'     => '/images/logo.png',
    ],

];
